package es.unican.psanchez.teaching.isII.seminarioAspectos.controlAccesos.aspectos;


public class Runner {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		Student student = new Student();
		student.setReligion("Scientology");
		
		String religion = student.getReligion();
		if (religion != null) {
			System.out.println("Our student is a " + religion);
		} else {
			System.out.println("Authentication error when accesing to religion field of a student object");
		} // if
	} // main
} // Runner
